package com.starrin.trashtalk.dao;

import com.starrin.trashtalk.SetDTO;
import com.starrin.trashtalk.model.SingleMatch;

import java.util.Date;
import java.util.List;

/**
 * Created by larsstarrin on 31/08/14.
 */
public interface MatchDAO {
    public boolean registerMatchResult(Date matchDate, Long homePlayerId, Long awayPlayerId, SetDTO setDTO1, SetDTO setDTO2, SetDTO setDTO3);

    public List<SingleMatch> findAllMatches();

    public List<SingleMatch> findMatchesBetween(Long player1Id, Long player2Id);
}
